import ReactQuill from 'react-quill';
import 'quill/dist/quill.snow.css';

const DescriptionCard = ({ text }) => {
    const modules = {
        toolbar: false
    };
    return (
        <div className='p-2'>
            <ReactQuill
                theme="snow"
                value={text}
                readOnly="true"
                modules={modules}
            />
        </div>
    );
};

export default DescriptionCard;
